import random
# 1.定义变量（角色）
player = int(input("请输入出拳的数字（1/2/3）："))
computer = random.randint(1, 3)
# 2.出拳判断(条件：player的数字和computer的数字是否一致)
# 条件1：人赢了各种情况考虑进去
if (player == 1 and computer == 2) or (player == 2 and computer == 3) or (player == 3 and
computer == 1):
    print("电脑你太菜了，哈哈哈~")
# 条件2：打平了
elif player == computer:
    print("打平了，咱俩心有灵犀")
# 条件3：人输了
else:
    print("电脑你太厉害了~")